<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
import gyf from './components/HelloWorld'
import page from './components/pagination'
export default {
  name: 'App',
  data() {
    return {
      currentPage: 1,
      goodsList: [
        {
          name: 'iphone',
          price: 999
        },
        {
          name: 'iphone1',
          price: 999
        },
        {
          name: 'iphone2',
          price: 999
        },
      ]
    }
  },
  components: {
    gyf, page
  },
  created() {

  },
  methods: {
    pageHandler(v) {
      this.currentPage = v
    }
  }
}
</script>

<style>
* {
  margin: 0;
  padding: 0;
}
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
